home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-10-11 | 879 b | 37 lines | [TEXT/MMCC] |
- /*================================================================================
- menuTable.c
-
- Menu bar function table
- ================================================================================*/
- #include "MenuTable.h"
- #include "MenuHandler.h"
-
- //
- // For ExitProgram
- //
- #include "Main.h"
-
- MENUFUNCTIONS menuTable[] =
- {
- M_CLOSEFRONT, 0, 0, CloseFrontWindow, 0,
-
- M_QUIT, 0, 0, ExitProgram, 0,
-
- //
- // My old menu handler is kind of icky in that
- // it requires an entry for every item (to store
- // the menu and item IDs), even if the function
- // pointer is not used.
- //
- // We don't need a function pointer for the various
- // "METHOD x" menu items because they are handled
- // by the set types dialog
- //
- 501, 0, 0, nil, 0,
- 502, 0, 0, nil, 0,
- 503, 0, 0, nil, 0,
- 504, 0, 0, nil, 0,
-
- 0, 0, 0, nil, 0
- };
-